{include file="Public:header" /}
<div class="bar bar-nav">
    <h1 class="title">我的预约客户</h1>
    <i class="icon icon-left" onclick="window.history.go( - 1);"></i>
</div>
<div class="content">
    <div class="content-block row in_tab_list">
        <div class="tab in_hot_box activity_1">
            {if condition="$make_users_show"}
            <div class="row discuss expert_discuss no-border" style="margin-top:0;">
                <div class="col-100">
                    <div class="content-padded">
                        <div class="list-block media-list" style="margin-top:0;">
                            <ul  id="all_yuyue">
                                {foreach name="make_users" item="make_users" key="mm"}
                                <li class="item-content">
                                    <div class="item-media" style="min-width: 60px;">
                                        <img src="{$make_users['headimgurl']}">
                                    </div>
                                    <div class="item-inner">
                                        <a href="{:U('Apply/expert_page',array('id'=>$make_users['apply_id']))}">
                                            <div class="item-title-row">
                                                <div class="item-title">{$make_users['username']}
                                                    <font>
                                                    {if condition="$make_users['select_time'] eq 1"}星期一{/if}
                                                    {if condition="$make_users['select_time'] eq 2"}星期二{/if}
                                                    {if condition="$make_users['select_time'] eq 3"}星期三{/if}
                                                    {if condition="$make_users['select_time'] eq 4"}星期四{/if}
                                                    {if condition="$make_users['select_time'] eq 5"}星期五{/if}
                                                    {if condition="$make_users['select_time'] eq 6"}星期六{/if}
                                                    {if condition="$make_users['select_time'] eq 0"}星期日{/if}
                                                    </font>
                                                    {switch name="make_users['status']"}
                                                        {case value='1'}
                                                        <a style="display: inline-block;float: right;" id="success_yuyue" class="button">进行中</a>
                                                        {/case}
                                                        {case value='2'}
                                                        <a style="display: inline-block;float: right;background: #ccc;" class="button">已完成</a>
                                                        {/case}
                                                        {case value='3'}
                                                        <a style="display: inline-block;float: right;background: #ccc;" class="button">已取消</a> 
                                                        {/case}
                                                    {/switch}
                                                </div>
                                            </div>
                                            <p>专家电话：{$make_users['phone']} </p>
                                            <div class="item-subtitle">预约地点：{$make_users['address']}</div>
                                        </a>
                                        
                                    </div>

                                </li>

                                {/foreach}

                            </ul>

                        </div>
                    </div>

                </div>
            </div>

            {else/}
            <p id="load_more"> 暂无预约！</p>
            {/if}
        </div>

    </div>
</div>

{include file="Public:footer" /}
